<?php
namespace app\index\model;
use think\Model;
/**
* 
*/
class Link extends Model
{
	  public function delink($id){
        if($this::destroy($id)){
            return 1;
        }else{
            return 2;
        }
    }
	
}